﻿using System;
using System.Collections.Generic;

#nullable disable

namespace Model.Models
{
    public partial class Datame
    {
        public Datame()
        {
            Bills = new HashSet<Bill>();
            Employees = new HashSet<Employee>();
            Flittings = new HashSet<Flitting>();
            MissionMtypeNavigations = new HashSet<Mission>();
            MissionStatusNavigations = new HashSet<Mission>();
            OrderOtypeNavigations = new HashSet<Order>();
            OrderStatusNavigations = new HashSet<Order>();
            PlanExecutestatusNavigations = new HashSet<Plan>();
            PlanManagetypeNavigations = new HashSet<Plan>();
            Receipts = new HashSet<Receipt>();
            Stations = new HashSet<Station>();
            Stockchanges = new HashSet<Stockchange>();
        }

        public int Dtid { get; set; }
        public string Dtype { get; set; }
        public string Dname { get; set; }
        public string Des { get; set; }

        public virtual ICollection<Bill> Bills { get; set; }
        public virtual ICollection<Employee> Employees { get; set; }
        public virtual ICollection<Flitting> Flittings { get; set; }
        public virtual ICollection<Mission> MissionMtypeNavigations { get; set; }
        public virtual ICollection<Mission> MissionStatusNavigations { get; set; }
        public virtual ICollection<Order> OrderOtypeNavigations { get; set; }
        public virtual ICollection<Order> OrderStatusNavigations { get; set; }
        public virtual ICollection<Plan> PlanExecutestatusNavigations { get; set; }
        public virtual ICollection<Plan> PlanManagetypeNavigations { get; set; }
        public virtual ICollection<Receipt> Receipts { get; set; }
        public virtual ICollection<Station> Stations { get; set; }
        public virtual ICollection<Stockchange> Stockchanges { get; set; }
    }
}
